package com.sll.hosptials.vo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import jakarta.validation.constraints.NotBlank;
import lombok.Data;

@Data
@ApiModel("通用分页入参")
public class PageReq {

    @ApiModelProperty("页数")
    @NotBlank(message = "页数不能为空")
    private Integer pageSize;

    @ApiModelProperty("页码")
    @NotBlank(message = "页码不能为空")
    private Integer pageNo;


}
